package springAop.jdkProxy;

/**
 * Created by mHandler on 2018/6/26 0026.
 * Description:
 */
public class ProxyTest {

    public static void main(String[] args) {
        UserDao dao = new UserDaoImpl();
        dao.save();
        dao.update();
        System.out.println("============");
        UserDao proxy = ProxyUtil.getProxy(dao);
        proxy.update();
        proxy.save();
    }

}
